package com.shopping_center.management.mapper;

import com.shopping_center.management.model.Phone;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhoneMapper {

    void insertInToPhoneInfo(Phone phone);

    List<Phone> selectAllPhoneInfo();


    void editPhoneInfo(Phone phone);


    void deletePhoneInfoById(String phoneId);


    List<Phone> selectAllPhoneInfoIntoExecl();


    List<Phone> selectPhoneInfoByFilter(@Param("PhoneName")String PhoneName,
                                    @Param("PhoneWeight")String PhoneWeight,
                                    @Param("PhoneColor")String PhoneColor);
}
